package cn.zxhysy.booksmall.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @className: User
 * @description:
 */
@Table(name = "AppUser")
@Data
@ApiModel(value = "用户表")
public class User {
    @Id
    @Column(name = "PK_ID")
    private Integer id;

    @ApiModelProperty(value = "用户名称")
    @Column(name = "UserName")
    private String name;
    @Column(name = "passwords")
    private String password;
    @Column(name = "concretename")
    private String concreteName;
}
